package com.web.service;

import com.web.entity.Student;

import java.util.List;

/**
 * 学生业务逻辑接口
 */
public interface StudentService {

    /**
     * 查询所有学生
     * dao 方法开头 select\insert、update\delete
     * service 方法开头 find/get\save/add、update/remove
     */

    List<Student> findAllStudents();
    List<Student> findStudentkeyword(String keyword);
    Student findStudentById(int id);
    boolean addStudent(Student student);
    boolean updateStudent(Student student);
    boolean removeStudent(int id);
}